package com.group02.community.service;



import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.group02.community.entity.log.SysLogininfor;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * <p>
 * 系统访问记录 服务类
 * </p>
 *
 * @author xl
 * @since 2022-07-01
 */
public interface SysLogininforService extends IService<SysLogininfor> {

    IPage<SysLogininfor> loginLogPage(Long current, Long size, SysLogininfor sysLogininfor, String dateRange);

    /*插入登入*/
    void insertLogininfor(SysLogininfor logininfor);

    void downloadExcel(HttpServletResponse response) throws IOException;

    void emptyDatabase();

    void loginLogDelete(Long[] id);
}
